#include<stdio.h>
int main()
{
	int day = 0;
	scanf_s("%d", &day);
	switch (day)//()必须为整形
	{
	case 1://入口
		printf("星期1\n");
		break;//跳出 停止
	case 2:
		printf("星期2\n");
		break;
	case 3:
		printf("星期3\n");
		break;
	case 4:
		printf("星期4\n");
		break;
	case 5:
		printf("星期5\n");
		break;
	}
	return 0;
}
//1-5 动作日
//6-7 休息日
int main()
{
	int day = 0;
	scanf_s("%d", &day);
	switch (day)//()必须为整形
	{
	case 1:
	case 2:
	case 3:
	case 4:
	case 5:
		printf("工作日\n");
		break;
	case 6:
	case 7:
		printf("工作日\n");
		break;
	default:
		printf("输入错误");
	    break;
	}
	return 0;
}
int main()
{
	int n = 1;
	int m = 2;
	switch (n)
	{
	case 1:
		m++;//m = 3
	case 2:
		n++;//n = 2
	case 3:
		switch (n)//n是几就开始从case几开始执行；即为2
		{
		case 1:
			n++;//  不执行
		case 2:
			m++;//m = 4
			n++; //n = 3
			break;//这只是嵌套的switch的跳出 不影响外面case 4的执行
		}
	case 4:
		m++;//m 5
		break;
	default:
		break;
	}
	printf("m=%d,n=%d", m, n);//5 3
	return 0;
}